package com.xcf.service.business.common.suitcasestation.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xcf.dao.DaoSupport;
import com.xcf.service.business.common.suitcasestation.SuitcaseStationService;
import com.xcf.util.PageData;
@Service("SuitcaseStationServiceImpl")
public class SuitcaseStationServiceImpl implements SuitcaseStationService{
	@Resource(name = "daoSupport")
	private DaoSupport dao;
	@SuppressWarnings("unchecked")
	@Override
	public List<PageData> findSuitcaseStationInfo(PageData pd) throws Exception {
		
		return (List<PageData>)dao.findForList("SuitcaseStation.findSuitcaseStation", pd);
	}
	@Override
	public void saveSuitcaseStationInfo(PageData pd) throws Exception {
		dao.save("SuitcaseStation.saveSuitcaseStation", pd);
		
	}
	@Override
	public void updataSuitcaseStationInfo(PageData pd) throws Exception {
		dao.update("SuitcaseStation.updateSuitcaseStation", pd);
		
	}
	@Override
	public void deleteSuitcaseStationInfo(PageData pd) throws Exception {
		dao.delete("SuitcaseStation.deleteSuitcaseStation", pd);
		
	}

}
